package com.settlement.system.controller;

import com.settlement.system.model.entity.common.TblRrChannel;
import com.settlement.system.service.EctBaseService;
import com.settlement.system.service.ITblRrChannelService;
import com.settlement.system.common.util.common.FasUtil;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import jakarta.annotation.Resource;
import java.util.Map;

@Api(tags = "渠道导出",description = "渠道导出")
@RestController
@Slf4j
@RequestMapping("/rr/channelExport")
public class TblRrChannelExportController extends EctExcelController<TblRrChannel> {

    @Resource
    private ITblRrChannelService tblRrChannelExportService;

    @Override
    public EctBaseService initService() {
        return tblRrChannelExportService;
    }

    @Override
    protected void setParamsModel(Map<String, Object> model) {
        FasUtil.formatInQueryCondition(model, "channelNo");
    }




}

